import request from '@/utils/request'

// 查询拍照记录表列表
export function listPhotoRecord(query) {
    return request({
        url: '/system/photoRecord/list',
        method: 'get',
        params: query
    })
}

// 查询拍照记录表详细
export function getPhotoRecord(id) {
    return request({
        url: '/system/photoRecord/' + id,
        method: 'get'
    })
}

// 新增拍照记录表
export function addPhotoRecord(data) {
    return request({
        url: '/system/photoRecord',
        method: 'post',
        data: data
    })
}

// 修改拍照记录表
export function updatePhotoRecord(data) {
    return request({
        url: '/system/photoRecord',
        method: 'put',
        data: data
    })
}

// 删除拍照记录表
export function delPhotoRecord(id) {
    return request({
        url: '/system/photoRecord/' + id,
        method: 'delete'
    })
}
